package com.eoner.baselibrary.bean.aftersale;

import com.eoner.baselibrary.bean.goods.PromotionProductMessage;
import com.eoner.common.bean.base.CommonBaseBean;
import com.google.gson.annotations.SerializedName;

import java.util.List;

/**
 * 作者：sean
 * 创建时间：2017/8/26 10:20
 * 功能说明：
 */

public class AfterSaleListBean extends CommonBaseBean {
    public DataBean getData() {
        return data;
    }

    public void setData(DataBean data) {
        this.data = data;
    }

    private DataBean data;

    public static class DataBean{

        /**
         * sh_items : [{"sh_product":{"sh_id":32,"sh_image":"http://img1.shihanbainian.com/upload_dev/product/2/e/0/2e0402d3e72ea4ea1f78847836e52170.png","sh_name":"测试一组规格的商品","sh_price":10,"sh_product_id":478,"sh_property":[{"sh_alias_name":"黑色","sh_attribute_label":"颜色"}],"sh_qty_ordered":3},"sh_amount":"4.5","sh_id":3,"sh_refund_no":"A2017072617155113038","sh_refund_type":1,"sh_refund_type_label":"退货退款","sh_status":3,"sh_status_label":"已寄回商品"},{"sh_product":{"sh_id":32,"sh_image":"http://img1.shihanbainian.com/upload_dev/product/2/e/0/2e0402d3e72ea4ea1f78847836e52170.png","sh_name":"测试一组规格的商品","sh_price":10,"sh_product_id":478,"sh_property":[{"sh_alias_name":"黑色","sh_attribute_label":"颜色"}],"sh_qty_ordered":3},"sh_amount":"35","sh_id":2,"sh_refund_no":"A2017072616292013064","sh_refund_type":0,"sh_refund_type_label":"仅退款","sh_status":1,"sh_status_label":"审核拒绝"}]
         * sh_total_rows : 2
         */

        private String sh_total_rows;
        private List<ShItemsBean> sh_items;

        public String getSh_total_rows() {
            return sh_total_rows;
        }

        public void setSh_total_rows(String sh_total_rows) {
            this.sh_total_rows = sh_total_rows;
        }

        public List<ShItemsBean> getSh_items() {
            return sh_items;
        }

        public void setSh_items(List<ShItemsBean> sh_items) {
            this.sh_items = sh_items;
        }

        public static class ShItemsBean {
            /**
             * sh_product : {"sh_id":32,"sh_image":"http://img1.shihanbainian.com/upload_dev/product/2/e/0/2e0402d3e72ea4ea1f78847836e52170.png","sh_name":"测试一组规格的商品","sh_price":10,"sh_product_id":478,"sh_property":[{"sh_alias_name":"黑色","sh_attribute_label":"颜色"}],"sh_qty_ordered":3}
             * sh_amount : 4.5
             * sh_id : 3
             * sh_refund_no : A2017072617155113038
             * sh_refund_type : 1
             * sh_refund_type_label : 退货退款
             * sh_status : 3
             * sh_status_label : 已寄回商品
             */

            private List<ShProductBean> sh_products;
            //            private String sh_amount;
//            private String sh_id;
//            private String sh_refund_no;
            private String sh_refund_type;
            private String sh_refund_type_label;
            private String sh_status;
            private String sh_status_label;
            private ShSellerBean sh_seller;
            private String sh_id;
            private String sh_order_id;
            private String sh_order_product_id;
            private String sh_refund_no;
            private String sh_create_at;
            private String sh_refund_amount;
            private boolean sh_is_dealer;
            private boolean sh_is_agent;
            private ShDealerInfoBean sh_dealer_info;

            public ShDealerInfoBean getSh_dealer_info() {
                return sh_dealer_info;
            }

            public void setSh_dealer_info(ShDealerInfoBean sh_dealer_info) {
                this.sh_dealer_info = sh_dealer_info;
            }

            public boolean getSh_is_dealer() {
                return sh_is_dealer;
            }

            public void setSh_is_dealer(boolean sh_is_dealer) {
                this.sh_is_dealer = sh_is_dealer;
            }

            public boolean getSh_is_agent() {
                return sh_is_agent;
            }

            public void setSh_is_agent(boolean sh_is_agent) {
                this.sh_is_agent = sh_is_agent;
            }
            public static class ShDealerInfoBean {
                private String sh_dealer_name;
                private String sh_dealer_logo;
                private String sh_mobile;

                public String getSh_dealer_name() {
                    return sh_dealer_name;
                }

                public void setSh_dealer_name(String sh_dealer_name) {
                    this.sh_dealer_name = sh_dealer_name;
                }

                public String getSh_dealer_logo() {
                    return sh_dealer_logo;
                }

                public void setSh_dealer_logo(String sh_dealer_logo) {
                    this.sh_dealer_logo = sh_dealer_logo;
                }

                public String getSh_mobile() {
                    return sh_mobile;
                }

                public void setSh_mobile(String sh_mobile) {
                    this.sh_mobile = sh_mobile;
                }
            }

            public String getSh_refund_no() {
                return sh_refund_no;
            }

            public void setSh_refund_no(String sh_refund_no) {
                this.sh_refund_no = sh_refund_no;
            }

            public String getSh_create_at() {
                return sh_create_at;
            }

            public void setSh_create_at(String sh_create_at) {
                this.sh_create_at = sh_create_at;
            }

            public String getSh_refund_amount() {
                return sh_refund_amount;
            }

            public void setSh_refund_amount(String sh_refund_amount) {
                this.sh_refund_amount = sh_refund_amount;
            }

            public String getSh_id() {
                return sh_id;
            }

            public void setSh_id(String sh_id) {
                this.sh_id = sh_id;
            }

            public String getSh_order_product_id() {
                return sh_order_product_id;
            }

            public void setSh_order_product_id(String sh_order_product_id) {
                this.sh_order_product_id = sh_order_product_id;
            }

            public String getSh_order_id() {
                return sh_order_id;
            }

            public void setSh_order_id(String sh_order_id) {
                this.sh_order_id = sh_order_id;
            }
            /**
             * sh_seller : {"sh_id":"37","sh_store_name":"李宝赢堂","sh_status":"1"}
             */

            /**
             * sh_button : {"sh_view_btn":"1","sh_cancal_btn":"0"}
             */

            private ShButtonBean sh_button;


            public List<ShProductBean> getSh_products() {
                return sh_products;
            }

            public void setSh_product(List<ShProductBean> sh_products) {
                this.sh_products = sh_products;
            }

//            public String getSh_amount() {
//                return sh_amount;
//            }
//
//            public void setSh_amount(String sh_amount) {
//                this.sh_amount = sh_amount;
//            }
//
//            public String getSh_id() {
//                return sh_id;
//            }
//
//            public void setSh_id(String sh_id) {
//                this.sh_id = sh_id;
//            }
//
//            public String getSh_refund_no() {
//                return sh_refund_no;
//            }
//
//            public void setSh_refund_no(String sh_refund_no) {
//                this.sh_refund_no = sh_refund_no;
//            }

            public String getSh_refund_type() {
                return sh_refund_type;
            }

            public void setSh_refund_type(String sh_refund_type) {
                this.sh_refund_type = sh_refund_type;
            }

            public String getSh_refund_type_label() {
                return sh_refund_type_label;
            }

            public void setSh_refund_type_label(String sh_refund_type_label) {
                this.sh_refund_type_label = sh_refund_type_label;
            }

            public String getSh_status() {
                return sh_status;
            }

            public void setSh_status(String sh_status) {
                this.sh_status = sh_status;
            }

            public String getSh_status_label() {
                return sh_status_label;
            }

            public void setSh_status_label(String sh_status_label) {
                this.sh_status_label = sh_status_label;
            }

            public ShSellerBean getSh_seller() {
                return sh_seller;
            }

            public void setSh_seller(ShSellerBean sh_seller) {
                this.sh_seller = sh_seller;
            }

            public ShButtonBean getSh_button() {
                return sh_button;
            }

            public void setSh_button(ShButtonBean sh_button) {
                this.sh_button = sh_button;
            }

            public static class ShProductBean {
                /**
                 * sh_id : 32
                 * sh_image : http://img1.shihanbainian.com/upload_dev/product/2/e/0/2e0402d3e72ea4ea1f78847836e52170.png
                 * sh_name : 测试一组规格的商品
                 * sh_price : 10
                 * sh_product_id : 478
                 * sh_property : [{"sh_alias_name":"黑色","sh_attribute_label":"颜色"}]
                 * sh_qty_ordered : 3
                 */

                private String sh_id;
                private String sh_image;
                private String sh_name;
                //                private String sh_price;
                private String sh_product_id;
                private String sh_qty_ordered;
                private List<ShPropertyBean> sh_property;
                private String sh_integral;
                private String sh_amount;
                private String sh_integral_deduction;
                private List<PromotionProductMessage> sh_promotion;

                public List<PromotionProductMessage> getSh_promotion() {
                    return sh_promotion;
                }

                public void setSh_promotion(List<PromotionProductMessage> sh_promotion) {
                    this.sh_promotion = sh_promotion;
                }

                public String getSh_integral_deduction() {
                    return sh_integral_deduction;
                }

                public void setSh_integral_deduction(String sh_integral_deduction) {
                    this.sh_integral_deduction = sh_integral_deduction;
                }

                public String getSh_amount() {
                    return sh_amount;
                }

                public void setSh_amount(String sh_amount) {
                    this.sh_amount = sh_amount;
                }

                public String getSh_integral() {
                    return sh_integral;
                }

                public void setSh_integral(String sh_integral) {
                    this.sh_integral = sh_integral;
                }

                public String getSh_id() {
                    return sh_id;
                }

                public void setSh_id(String sh_id) {
                    this.sh_id = sh_id;
                }

                public String getSh_image() {
                    return sh_image;
                }

                public void setSh_image(String sh_image) {
                    this.sh_image = sh_image;
                }

                public String getSh_name() {
                    return sh_name;
                }

                public void setSh_name(String sh_name) {
                    this.sh_name = sh_name;
                }

//                public String getSh_price() {
//                    return sh_price;
//                }
//
//                public void setSh_price(String sh_price) {
//                    this.sh_price = sh_price;
//                }

                public String getSh_product_id() {
                    return sh_product_id;
                }

                public void setSh_product_id(String sh_product_id) {
                    this.sh_product_id = sh_product_id;
                }

                public String getSh_qty_ordered() {
                    return sh_qty_ordered;
                }

                public void setSh_qty_ordered(String sh_qty_ordered) {
                    this.sh_qty_ordered = sh_qty_ordered;
                }

                public List<ShPropertyBean> getSh_property() {
                    return sh_property;
                }

                public void setSh_property(List<ShPropertyBean> sh_property) {
                    this.sh_property = sh_property;
                }

                public static class ShPropertyBean {
                    /**
                     * sh_alias_name : 黑色
                     * sh_attribute_label : 颜色
                     */

                    private String sh_alias_name;
                    private String sh_attribute_label;

                    public String getSh_alias_name() {
                        return sh_alias_name;
                    }

                    public void setSh_alias_name(String sh_alias_name) {
                        this.sh_alias_name = sh_alias_name;
                    }

                    public String getSh_attribute_label() {
                        return sh_attribute_label;
                    }

                    public void setSh_attribute_label(String sh_attribute_label) {
                        this.sh_attribute_label = sh_attribute_label;
                    }
                }
            }

            public static class ShSellerBean {
                /**
                 * sh_id : 37
                 * sh_store_name : 李宝赢堂
                 * sh_status : 1
                 */

                @SerializedName("sh_id")
                private String sh_idX;
                private String sh_store_name;
                @SerializedName("sh_status")
                private String sh_statusX;

                private String sh_seller_type;
                private String sh_is_boutique;
                private String sh_sobot_app_key;
                private String sh_sobot_flow_company_id;
                private String sh_sobot_flow_group_id;
                private String sh_s_ismyshop;

                public String getSh_s_ismyshop() {
                    return sh_s_ismyshop;
                }

                public void setSh_s_ismyshop(String sh_s_ismyshop) {
                    this.sh_s_ismyshop = sh_s_ismyshop;
                }


                public String getSh_sobot_app_key() {
                    return sh_sobot_app_key;
                }

                public void setSh_sobot_app_key(String sh_sobot_app_key) {
                    this.sh_sobot_app_key = sh_sobot_app_key;
                }

                public String getSh_sobot_flow_company_id() {
                    return sh_sobot_flow_company_id;
                }

                public void setSh_sobot_flow_company_id(String sh_sobot_flow_company_id) {
                    this.sh_sobot_flow_company_id = sh_sobot_flow_company_id;
                }

                public String getSh_sobot_flow_group_id() {
                    return sh_sobot_flow_group_id;
                }

                public void setSh_sobot_flow_group_id(String sh_sobot_flow_group_id) {
                    this.sh_sobot_flow_group_id = sh_sobot_flow_group_id;
                }

                public String getSh_is_boutique() {
                    return sh_is_boutique;
                }

                public void setSh_is_boutique(String sh_is_boutique) {
                    this.sh_is_boutique = sh_is_boutique;
                }

                public String getSh_seller_type() {
                    return sh_seller_type;
                }

                public void setSh_seller_type(String sh_seller_type) {
                    this.sh_seller_type = sh_seller_type;
                }

                public String getSh_idX() {
                    return sh_idX;
                }

                public void setSh_idX(String sh_idX) {
                    this.sh_idX = sh_idX;
                }

                public String getSh_store_name() {
                    return sh_store_name;
                }

                public void setSh_store_name(String sh_store_name) {
                    this.sh_store_name = sh_store_name;
                }

                public String getSh_statusX() {
                    return sh_statusX;
                }

                public void setSh_statusX(String sh_statusX) {
                    this.sh_statusX = sh_statusX;
                }
            }

            public static class ShButtonBean {
                /**
                 * sh_view_btn : 1
                 * sh_cancal_btn : 0
                 */

                private String sh_view_btn;
                private String sh_cancal_btn;

                public String getSh_view_btn() {
                    return sh_view_btn;
                }

                public void setSh_view_btn(String sh_view_btn) {
                    this.sh_view_btn = sh_view_btn;
                }

                public String getSh_cancal_btn() {
                    return sh_cancal_btn;
                }

                public void setSh_cancal_btn(String sh_cancal_btn) {
                    this.sh_cancal_btn = sh_cancal_btn;
                }
            }
        }
    }
}
